"use strict";
const { objectOne: to_ObjectOne } = require('./_TestToolOne');
// 主入口
const main = (() => {
    const module = {
        testOne: () => {
            console.log(to_ObjectOne.__proto__);
        },
        testTwo: () => {
            console.log(typeof Symbol("Himi"));
            console.log(Symbol("Himi").description);
            console.log(Object.getOwnPropertyDescriptors({ id: 1, name: "Himi" }));
            console.log(Symbol("Himi").toString());
            console.log(Symbol("Himi").description);
            console.log(Number.isInteger(111.1));
            console.log(Number.isNaN(111.1));
            console.log(Number.parseInt("111.1", 16));
            console.log(111.1.toFixed(2));
        },
        testThree: () => {
            const objectOne = { name: "Himi", age: 18 };
            const proxy = new Proxy(objectOne, {
                get: function (target, key, receiver) {
                    console.log(target[key]);
                    console.log(receiver);
                    return Reflect.get(target, key, receiver);
                }
            });
            proxy.name;
        },
    };
    return module;
})();
//  main.testOne();
// main.testTwo();
main.testThree();
